﻿@{
    ViewBag.Title = "Đăng nhập hệ thống";
    Layout = "~/Views/Shared/_Login.cshtml";
}

@*<script type="text/javascript">
        $(document).ready(function ()
        {
            $('.formLogin .boxLogin .textboxN').click(function () {
                $('.formLogin .boxLogin .textboxN').css({ border: "1px solid #F0F0F0" });
                $(this).css({ border: "1px solid #d7416e" });
            });
            $('.formLogin .boxLogin .textboxN').focusout(function () {
                $('.formLogin .boxLogin .textboxN').css({ border: "1px solid #F0F0F0" });
                $(this).css({ border: "1px solid #d7416e" });
            });
        });
    </script>*@

@using (Html.BeginForm())
{
    <div id="login">

        <div id="loginblock">
            <div id="companyarea">
                <img src="~/Images/banner-eoff.png" />
            </div>
            <div id="loginarea">
                <div class="formLogin">
                    <div class="boxLogin">
                        <table>
                            <tr>
                                <td></td>
                                <td class="error" colspan="2">@ViewBag.Err</td>
                            </tr>
                            <tr>
                                <td class="logname">
                                    <p>Tên đăng nhập: </p>
                                </td>
                                <td>
                                    @*<input name="txtUser" type="text" maxlength="100" id="dnn_login_txtUser" class="textboxN">*@
                                    @Html.TextBox("Username", "", new { @class = "textboxN" })
                                </td>
                            </tr>
                            <tr>
                                <td class="logname">
                                    <p>Mật khẩu:</p>
                                </td>
                                <td>
                                    @*<input type="password" name="Pass" class="textboxN">*@
                                    @Html.TextBox("Password", "", new { type = "password", @class = "textboxN" })
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    @*<input id="login_chkNhoMK" type="checkbox" name="chkNhoMK">
                                        <label for="login_chkNhoMK">&nbsp;Ghi nhớ</label>
                                        @Html.CheckBox("chkNhoMK")
                                        @Html.Label("Ghi nhớ")*@
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td>
                                    <input type="submit" name="Button" value="Đăng nhập" id="login_Button" class="login-button btnlogincss">
                                    <input type="reset" id="Reset" value="Làm lại" class="login-button btnlogincss" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
            <div id="copyrightarea">
                @*<table>
                        <tr>
                            <td style="padding-left:20px; padding-top: 8px"><img src="~/Images/qlcv.png" /></td>
                            <td>&copy; @DateTime.Now.Year - Phần mềm quản lý công văn</td>
                        </tr>
                    </table>*@
                <div style="width:58px; height:28px; float:left; padding-left:20px; padding-top: 5px"><img src="~/Images/qlcv.png" /></div>
                <div style="font-family:Times; font-size:20px; padding-left:5px">&reg; @DateTime.Now.Year - Phần mềm quản lý công văn</div>
            </div>
        </div>

    </div>
}